package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * miniprogram对象 wx_miniprogram
 * 
 * @author zy
 * @date 2022-03-27
 */
public class WxMiniprogram extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 小程序名称 */
    @Excel(name = "小程序名称")
    private String name;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    /** 图像 */
    @Excel(name = "图像")
    private String url;

    /** 分享的图片 */
    @Excel(name = "分享的图片")
    private String shareUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long sdkAppId;

    /** 签名 */
    @Excel(name = "签名")
    private String smsSign;

    /** 短信模板id */
    @Excel(name = "短信模板id")
    private Long smsTemplateId;

    /** 私钥id */
    @Excel(name = "私钥id")
    private String smsSecreId;

    /** 私钥key */
    @Excel(name = "私钥key")
    private String smsSecreKey;

    /** 分享小程序的标题 */
    @Excel(name = "分享小程序的标题")
    private String title;

    /** 分享小程序的页面 */
    @Excel(name = "分享小程序的页面")
    private String path;

    /** 分享小程序的图片 */
    @Excel(name = "分享小程序的图片")
    private String imageUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String wxAppId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String qqAppId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String wxAppSecret;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String qqAppSecret;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setShareUrl(String shareUrl) 
    {
        this.shareUrl = shareUrl;
    }

    public String getShareUrl() 
    {
        return shareUrl;
    }
    public void setSdkAppId(Long sdkAppId) 
    {
        this.sdkAppId = sdkAppId;
    }

    public Long getSdkAppId() 
    {
        return sdkAppId;
    }
    public void setSmsSign(String smsSign) 
    {
        this.smsSign = smsSign;
    }

    public String getSmsSign() 
    {
        return smsSign;
    }
    public void setSmsTemplateId(Long smsTemplateId) 
    {
        this.smsTemplateId = smsTemplateId;
    }

    public Long getSmsTemplateId() 
    {
        return smsTemplateId;
    }
    public void setSmsSecreId(String smsSecreId) 
    {
        this.smsSecreId = smsSecreId;
    }

    public String getSmsSecreId() 
    {
        return smsSecreId;
    }
    public void setSmsSecreKey(String smsSecreKey) 
    {
        this.smsSecreKey = smsSecreKey;
    }

    public String getSmsSecreKey() 
    {
        return smsSecreKey;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setWxAppId(String wxAppId) 
    {
        this.wxAppId = wxAppId;
    }

    public String getWxAppId() 
    {
        return wxAppId;
    }
    public void setQqAppId(String qqAppId) 
    {
        this.qqAppId = qqAppId;
    }

    public String getQqAppId() 
    {
        return qqAppId;
    }
    public void setWxAppSecret(String wxAppSecret) 
    {
        this.wxAppSecret = wxAppSecret;
    }

    public String getWxAppSecret() 
    {
        return wxAppSecret;
    }
    public void setQqAppSecret(String qqAppSecret) 
    {
        this.qqAppSecret = qqAppSecret;
    }

    public String getQqAppSecret() 
    {
        return qqAppSecret;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("icon", getIcon())
            .append("url", getUrl())
            .append("shareUrl", getShareUrl())
            .append("sdkAppId", getSdkAppId())
            .append("smsSign", getSmsSign())
            .append("smsTemplateId", getSmsTemplateId())
            .append("smsSecreId", getSmsSecreId())
            .append("smsSecreKey", getSmsSecreKey())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("title", getTitle())
            .append("path", getPath())
            .append("imageUrl", getImageUrl())
            .append("wxAppId", getWxAppId())
            .append("qqAppId", getQqAppId())
            .append("wxAppSecret", getWxAppSecret())
            .append("qqAppSecret", getQqAppSecret())
            .toString();
    }
}
